package cn.stazxr.entity;

import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.domain.Sort;

import java.io.Serial;
import java.io.Serializable;

/**
 * 角色和菜单关联表(YdlRoleMenu)实体类
 *
 * @author makejava
 * @since 2025-10-28 22:51:59
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class YdlBaseEntity implements Serializable {

	@Serial
	private static final long serialVersionUID = -3085860791707015721L;
	// 分页参数需要有默认值
	@JsonIgnore
	private int page = 0;
	@JsonIgnore
	private int size = 1;
	@JsonIgnore
	private Sort sort = Sort.unsorted();

}

